package me.zhengjie.modules.system.service.mapper

import me.zhengjie.common.base.BaseMapper
import me.zhengjie.modules.system.domain.Job
import me.zhengjie.modules.system.service.dto.JobDTO
import me.zhengjie.modules.system.service.mapper.DeptMapper
import org.mapstruct.Mapper
import org.mapstruct.Mapping
import org.mapstruct.ReportingPolicy

/**
 * @author Kuki Wu
 * @date 2019-03-29
 */
@Mapper(componentModel = "spring", uses = [DeptMapper::class], unmappedTargetPolicy = ReportingPolicy.IGNORE)
interface JobMapper : BaseMapper<JobDTO?, Job?>